package com.wzs.learn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker   //启动hystrix 熔断系统
public class AppHystrixProviderDept8004 {

    public static void main(String[] args) {
        SpringApplication.run(AppHystrixProviderDept8004.class,args);
    }
}
